#include "stdafx.h"
#include "Takes.h"
#include <string>
#include <iostream>

Takes::Takes()
{
}
Takes::Takes(const std::string &si, const std::string &ci, const std::string &gi)
{
	stuId = si;
	courseId = ci;
	gradeId = gi;
}
std::string Takes::getStuId()
{
	return stuId;
}
void  Takes::setStuId(const std::string & si)
{
	stuId = si;
}
std::string Takes::getCourseId()
{
	return courseId;
}
void  Takes::setCourseId(const std::string & ci)
{
	courseId = ci;
}
std::string Takes::getGradeId()
{
	return gradeId;
}
void  Takes::setGradeId(const std::string & gi)
{
	gradeId = gi;
}
void  Takes::show()
{
	using std::cout;
	using std::endl;
	cout << "stuId:" << stuId << ", courseId:" << courseId << ", gradeId:" << gradeId << endl;
}

Takes::~Takes()
{
}
